package huzh.foundation.dao;

import java.io.Serializable;

/**
 *<p>title:ColumnMetaData</p>
 *<p>description:</p>
 * @since 2014-6-8
 * @author huzh
 * @version 1.0
 */
public class ColumnMetaData implements Serializable{
    /**serialVersionUID*/
    private static final long serialVersionUID = -303235169223183401L;
    /**catalogName*/
    private String catalogName;
    /**displaySize*/
    private int displaySize;
    /**label*/
    private String label;
    /**name*/
    private String name;
    /**type*/
    private int type;
    /**typeName*/
    private String typeName;
    /**precision*/
    private int precision;
    /**scale*/
    private int scale;
    /**schemaName*/
    private String schemaName;
    /**writable*/
    private boolean writable;
    /**readOnly*/
    private boolean readOnly;
    /**currency*/
    private boolean currency;
    /**autoIncrement*/
    private boolean autoIncrement;
    /**caseSensitive*/
    private boolean caseSensitive;
    /**searchable*/
    private boolean searchable;
    /**signed*/
    private boolean signed;
    /**tableName*/
    private String tableName;
    /**definitelyWritable*/
    private boolean definitelyWritable;
    /**className*/
    private String className;
    /**nullable*/
    private int nullable;

    /**
     * @return
     */
    public String getCatalogName() {
        return this.catalogName;
    }
    /**
     * @param catalogName
     */
    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }
    /**
     * @return
     */
    public int getDisplaySize() {
        return this.displaySize;
    }
    /**
     * @param displaySize
     */
    public void setDisplaySize(int displaySize) {
        this.displaySize = displaySize;
    }
    /**
     * @return
     */
    public String getLabel() {
        return this.label;
    }
    /**
     * @param label
     */
    public void setLabel(String label) {
        this.label = label;
    }
    /**
     * @return
     */
    public String getName() {
        return this.name;
    }
    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }
    /**
     * @return
     */
    public int getType() {
        return this.type;
    }
    /**
     * @param type
     */
    public void setType(int type) {
        this.type = type;
    }
    /**
     * @return
     */
    public String getTypeName() {
        return this.typeName;
    }
    /**
     * @param typeName
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
    /**
     * @return
     */
    public int getPrecision() {
        return this.precision;
    }
    /**
     * @param precision
     */
    public void setPrecision(int precision) {
        this.precision = precision;
    }
    /**
     * @return
     */
    public int getScale() {
        return this.scale;
    }
    /**
     * @param scale
     */
    public void setScale(int scale) {
        this.scale = scale;
    }
    /**
     * @return
     */
    public String getSchemaName() {
        return this.schemaName;
    }
    /**
     * @param schemaName
     */
    public void setSchemaName(String schemaName) {
        this.schemaName = schemaName;
    }
    /**
     * @return
     */
    public int getNullable() {
        return this.nullable;
    }
    /**
     * @param nullable
     */
    public void setNullable(int nullable) {
        this.nullable = nullable;
    }
    /**
     * @return
     */
    public boolean isWritable() {
        return this.writable;
    }
    /**
     * @param writable
     */
    public void setWritable(boolean writable) {
        this.writable = writable;
    }
    /**
     * @return
     */
    public boolean isReadOnly() {
        return this.readOnly;
    }
    /**
     * @param readOnly
     */
    public void setReadOnly(boolean readOnly) {
        this.readOnly = readOnly;
    }
    /**
     * @return
     */
    public boolean isCurrency() {
        return this.currency;
    }
    /**
     * @param currency
     */
    public void setCurrency(boolean currency) {
        this.currency = currency;
    }
    /**
     * @return
     */
    public boolean isAutoIncrement() {
        return this.autoIncrement;
    }
    /**
     * @param autoIncrement
     */
    public void setAutoIncrement(boolean autoIncrement) {
        this.autoIncrement = autoIncrement;
    }
    /**
     * @return
     */
    public boolean isCaseSensitive() {
        return this.caseSensitive;
    }
    /**
     * @param caseSensitive
     */
    public void setCaseSensitive(boolean caseSensitive) {
        this.caseSensitive = caseSensitive;
    }
    /**
     * @return
     */
    public boolean isSearchable() {
        return this.searchable;
    }
    /**
     * @param searchable
     */
    public void setSearchable(boolean searchable) {
        this.searchable = searchable;
    }
    /**
     * @return
     */
    public boolean isSigned() {
        return this.signed;
    }
    /**
     * @param signed
     */
    public void setSigned(boolean signed) {
        this.signed = signed;
    }
    /**
     * @return
     */
    public String getTableName() {
        return this.tableName;
    }
    /**
     * @param tableName
     */
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
    /**
     * @return
     */
    public boolean isDefinitelyWritable() {
        return this.definitelyWritable;
    }
    /**
     * @param definitelyWritable
     */
    public void setDefinitelyWritable(boolean definitelyWritable) {
        this.definitelyWritable = definitelyWritable;
    }
    /**
     * @return
     */
    public String getClassName() {
        return this.className;
    }
    /**
     * @param className
     */
    public void setClassName(String className) {
        this.className = className;
    }

    /**
     * @return
     */
    public String toString() {
        return "ColumnMetaData[name:" + this.name + ",catalogName:" + this.catalogName + ",displaySize:" 
            + this.displaySize + ",label:" + this.label + ",type:" + this.type + ",typeName:" + this.typeName + ",precision:" + this.precision + ",scale:" + this.scale + ",schemaName:" + this.schemaName + ",writable:" + this.writable + ",readOnly:" + this.readOnly + ",currency:" + this.currency + ",autoIncrement:" + this.autoIncrement + ",caseSensitive:" + this.caseSensitive + ",searchable:" + this.searchable + ",signed:" + this.signed + ",tableName:" + this.tableName + ",definitelyWritable:" + this.definitelyWritable + ",className:" + this.className + ",nullable:" + this.nullable + "]\r\n";
    }
}
